/* Copyright (C) 2008, 2009, 2010 Faindu GmbH, Switzerland.
* All Rights Reserved. The following is Source Code and is subject to all restrictions 
* on such code as contained in the license accompanying this project. */
package blocstac.editimage.scale
{
import blocstac.editimage.base.Cursor;

import mx.core.BitmapAsset;

/**
 * The cursor shown when the user hovers over the control.
*/
public class ScaleCursor extends Cursor
{

	public function ScaleCursor() 
	{
		var angleInDegrees:Number = -135
		offset_x = -18
		offset_y = 0					
		
		var cursorBitmapAsset: BitmapAsset = BitmapAsset( new cursorHorizontalClass() )
		cursorBitmapAsset.smoothing = true
		cursorBitmapAsset.rotation =  angleInDegrees
		addChild( cursorBitmapAsset )
	}

	[Bindable]
	[Embed(source='/blocstac/editimage/assets/lc_arrowshapes.left-right-arrow.png')]
	private var cursorHorizontalClass:Class;	
	
}
}